home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3scriptg.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_SCRIPTGADGET_H = 1;
- include("oops/r3gadget.js")
-
-
- var R3CLID_SCRIPTGADGET = 1474;
-
-
-
-
- // Description: Internal: script changed. Don't call.
- // p3: String, current line
-
- R3SCRIPTGM_SETSCRIPT = 1474000;
-
- function mR3SCRIPTGM_SETSCRIPT(p3) {
- DoA(this.r3obj, 1474000, p3, R3TID_STRING, 0);
- }
-
- // Description: Internal: set current language to be used. Don't call.
- // p3: Integer, ordnum of the language
-
- R3SCRIPTGM_SETLANGUAGE = 1474001;
-
- function mR3SCRIPTGM_SETLANGUAGE(p3) {
- DoA(this.r3obj, 1474001, p3, R3TID_INTEGER, 0);
- }
-
- // Description: Callback for adding new languages to the cycle. Don't call.
-
- R3SCRIPTGM_ADDLANGUAGE = 1474002;
-
- function mR3SCRIPTGM_ADDLANGUAGE() {
- DoA(this.r3obj, 1474002, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Write string to the script window.
- // p3: String, string to be written
-
- R3SCRIPTGM_PRINT = 1474003;
-
- function mR3SCRIPTGM_PRINT(p3) {
- DoA(this.r3obj, 1474003, p3, R3TID_STRING, 0);
- }
-
- // Description: Clear output buffer.
-
- R3SCRIPTGM_CLEAROUTPUT = 1474006;
-
- function mR3SCRIPTGM_CLEAROUTPUT() {
- DoA(this.r3obj, 1474006, 0, R3TID_INTEGER, 0);
- }
-
-
-
-
- R3SCRIPTGA_ScriptClid = 1474501;
- function SetR3SCRIPTGA_ScriptClid(value) {
- R3Set(this.r3obj, R3SCRIPTGA_ScriptClid, value, R3TID_INTEGER, 0);
- }
-
- function GetR3SCRIPTGA_ScriptClid() {
- return R3Get(this.r3obj, R3SCRIPTGA_ScriptClid, R3TID_INTEGER, 0);
- }
-
- R3SCRIPTGA_Script = 1474502;
- function SetR3SCRIPTGA_Script(value) {
- R3Set(this.r3obj, R3SCRIPTGA_Script, value, R3TID_STRING, 0);
- }
-
- function GetR3SCRIPTGA_Script() {
- return R3Get(this.r3obj, R3SCRIPTGA_Script, R3TID_STRING, 0);
- }
-
- R3SCRIPTGA_CommandLine = 1474503;
- function SetR3SCRIPTGA_CommandLine(value) {
- R3Set(this.r3obj, R3SCRIPTGA_CommandLine, value, R3TID_BOOLEAN, 0);
- }
-
- function GetR3SCRIPTGA_CommandLine() {
- return R3Get(this.r3obj, R3SCRIPTGA_CommandLine, R3TID_BOOLEAN, 0);
- }
-
- var R3SCRIPTGA_NoOutput = 1474504; // Boolean
-
-
- function r3Scriptgadget () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_SCRIPTGADGET, arguments);
- }
- // Methods
- this.SETSCRIPT=mR3SCRIPTGM_SETSCRIPT;
- this.SETLANGUAGE=mR3SCRIPTGM_SETLANGUAGE;
- this.ADDLANGUAGE=mR3SCRIPTGM_ADDLANGUAGE;
- this.PRINT=mR3SCRIPTGM_PRINT;
- this.CLEAROUTPUT=mR3SCRIPTGM_CLEAROUTPUT;
-
- // Attributes
- this.GetScriptClid=GetR3SCRIPTGA_ScriptClid;
- this.SetScriptClid=SetR3SCRIPTGA_ScriptClid;
- this.GetScript=GetR3SCRIPTGA_Script;
- this.SetScript=SetR3SCRIPTGA_Script;
- this.GetCommandLine=GetR3SCRIPTGA_CommandLine;
- this.SetCommandLine=SetR3SCRIPTGA_CommandLine;
- }
-
- r3Scriptgadget.prototype=new r3Gadget;
- // r3scriptg.h_H